<?php
namespace app\core\forms\user;

use yii\base\Model;

class ResetPasswordForm extends Model
{
    public string $password = '';

    public function rules(): array
    {
        return [
            ['password', 'required'],
            ['password', 'string', 'min' => 6],
        ];
    }

    public function attributeLabels(): array
    {
	    return [
	        'password' => 'Пароль',
	    ];
    }
}
